Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run on RPTU servers #1062

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

aaruni96
Copy link
Member

I am not sure if this is actually correct, more explanation on why, if this doesn't work.

I am not sure if this is actually correct.
Copy link

codecov bot commented Oct 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.97%. Comparing base (e9b89fc) to head (f654e8e).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1062   +/-   ##
=======================================
  Coverage   74.97%   74.97%           
=======================================
  Files          55       55           
  Lines        4560     4560           
=======================================
  Hits         3419     3419           
  Misses       1141     1141           

@aaruni96
Copy link
Member Author

aaruni96 commented Oct 29, 2024

This currently spawns two values for runs-on: Linux, and RPTU. What we really want is one runs-on, with two labels: Linux and RPTU (such that github then forwards this job to only runners tagged with both of these labels). Only forwarding it to RPTU tagged runners means it might get run on one of the macos runners, and only forwarding it to Linux tagged runners leaves it open to running on other runners (in case github ever labels their runners as linux in addition to ubuntu).

Documentation for choosing a runner using labels : https://docs.github.com/en/actions/writing-workflows/choosing-where-your-workflow-runs/choosing-the-runner-for-a-job#targeting-runners-in-a-group

cc @benlorenz @fingolfin any ideas ?

Copy link
Member

@benlorenz benlorenz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The outer array will be used expanded for the matrix job, so we need one more level of arrays, then this should work. Except that the job-name will not be generated properly and print Array as OS name. But this name-generation needs a rework anyway...

Edit: The matrix context for the generated sub-jobs now has both labels in os:

{
  "branches": {
    "name": "matching: [Oscar#master]",
    "branch": "ak96/rptu-local-runners",
    "pkgs": {
      "Oscar": {
        "options": [],
        "test": true,
        "branch": "master"
      }
    }
  },
  "julia-version": "~1.10.0-0",
  "os": [
    "Linux",
    "RPTU"
  ]
}

https://github.com/oscar-system/GAP.jl/actions/runs/11575068230/job/32220834450?pr=1062#step:6:50

OscarCI.toml Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants